package com.hualan.dao;

import com.hualan.bean.PanghuShop;

import java.util.List;

public interface ShopDao {
    //获取shop列表
    List<PanghuShop> selectPage(String keyWord, String phone, String startTime, String endTime, Integer pageNum, Integer pageSize);

    //获取shop个数
    Long selectShopCount();

    //根据shopId查询社区名字
    String selectCommunityNameByShopId(Integer shopId);

    //新增shop
    int addShop(String shopAddress, String shopDescribe, String shopImage, String shopLatitude, String shopLongitude, String shopName, String shopPhone);

    //修改shop
    int update(String addTime, String shopAddress, String shopCity, String shopDescribe, String shopDistrict, String shopImage, String shopLatitude, String shopLongitude, String shopName, String shopPhone, String shopProvince, String shopId);
}
